<% userid=cint(request.querystring("userid")) password=trim(request.form("password")) passwordagain=trim(request.form("passwordagain")) if request("step")=3 then '第三步,设置新密码 if password<>"" and passwordagain<>"" then if password<>passwordagain then response.write"" else set rs=server.createobject("adodb.recordset") sql="select password,password_a from [web_register] where id="&userid&" " rs.open(sql),cn,1,3 if rs.eof then response.write"" else rs("password")=md5(password,16) rs("password_a")=md5(password,16) rs.update response.write"" end if rs.close set rs=nothing end if end if end if %> 会员登陆_$web_name$
您当前的位置:网站首页登陆入口页面浏览
站点推广:
$web_indexsearch$
会员登陆
<% set rs=server.createobject("adodb.recordset") sql="select username from [web_register] where id="&userid&"" rs.open(sql),cn,1,1 if not rs.eof then %>
用户帐号: " type="text" maxlength="20" class="inp4" style="width:150px;" disabled="disabled" />
新密码: 请输入新密码!
确认新密码: 请确认新密码!
 
第三步:问题匹配成功,请设置新的密码
<% else end if rs.close set rs=nothing %>
$web_copyright$